package com.zwz.mapper;

import com.zwz.entity.Trademark;
import com.zwz.voObject.Know;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface TrademarkMapper {
    int insert(Trademark trademark);
    int update(Trademark trademark);
    int deleteById(String id);
    Trademark selectById(String id);
    List<Trademark> selectByCompany(String companyName);
    List<Trademark> selectByRegNumber(String regNumber);
    List<Trademark> searchByStatus(@Param("status") String status);

    List<Know> getKnowInfo(String id);

}